package com.zq.structure.decorator;

public interface Person {
    void sayHello();
    void sayGoodbye();
}

class Man implements Person {

    @Override
    public void sayHello() {
        System.out.println("Hey, guys.");
    }

    @Override
    public void sayGoodbye() {
        System.out.println("Bye bye.");
    }
}
